package com.risetechnology.customviews;

import com.risetechnology.common.Shared;
import com.risetechnology.data.Ingredient;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

public class CustomFontTextView extends TextView {

	private int position;
	private String value;
	private Ingredient ingredient;
	
	public CustomFontTextView(Context context) {
		super(context);
		setTypeface(Shared.font);
	}
	
	public CustomFontTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		
		setTypeface(Shared.font);
	}
	

	

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	public int getPosition() {
		return position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	public Ingredient getIngredient() {
		return ingredient;
	}

	public void setIngredient(Ingredient ingredient) {
		this.ingredient = ingredient;
	}
}
